package org.jeecg.modules.demo.crm.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import io.swagger.models.auth.In;
import org.jeecg.modules.demo.crm.entity.CCommon;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.crm.entity.CSubProject;

/**
 * @Description: 通用方法
 * @Author: jeecg-boot
 * @Date:   2025-06-24
 * @Version: V1.0
 */
public interface ICCommonService extends IService<CCommon> {

    String translatData(String columnName,String tableName,String id);

    /**
     * 权限设置
     * @param queryWrapper
     * @return
     */
    QueryWrapper permissionDetection(QueryWrapper queryWrapper);

    QueryWrapper permissionDetectionColumn(QueryWrapper queryWrapper,String columnName);


    QueryWrapper permissionDetectionCreateBy(QueryWrapper queryWrapper);

    String executeQuery(String sql);

    Boolean permissionCheck();

    Boolean taskpermissionCheck();

}
